home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form ConnectionOptionsForm
- Caption = "Connection Options"
- ClientHeight = 1935
- ClientLeft = 7020
- ClientTop = 3585
- ClientWidth = 4635
- Height = 2340
- Left = 6960
- LinkTopic = "Form2"
- LockControls = -1 'True
- ScaleHeight = 1935
- ScaleWidth = 4635
- Top = 3240
- Width = 4755
- Begin VB.TextBox UserName
- Height = 285
- Left = 1275
- TabIndex = 2
- Top = 495
- Width = 3180
- End
- Begin VB.CommandButton Cancel
- Cancel = -1 'True
- Caption = "Cancel"
- Height = 375
- Left = 2415
- TabIndex = 5
- TabStop = 0 'False
- Top = 1335
- Width = 1005
- End
- Begin VB.CommandButton Ok
- Caption = "OK"
- Default = -1 'True
- Height = 375
- Left = 1290
- TabIndex = 4
- TabStop = 0 'False
- Top = 1335
- Width = 1035
- End
- Begin VB.TextBox Password
- Height = 315
- Left = 1275
- TabIndex = 3
- Top = 810
- Width = 3180
- End
- Begin VB.TextBox ServerName
- Height = 285
- Left = 1275
- TabIndex = 1
- Top = 165
- Width = 3180
- End
- Begin VB.Label Label1
- Alignment = 1 'Right Justify
- Caption = "Server Name:"
- Height = 225
- Index = 0
- Left = 150
- TabIndex = 7
- Top = 180
- Width = 1065
- End
- Begin VB.Label Label1
- Alignment = 1 'Right Justify
- Caption = "User Name:"
- Height = 240
- Index = 1
- Left = 150
- TabIndex = 6
- Top = 525
- Width = 1065
- End
- Begin VB.Label Label1
- Alignment = 1 'Right Justify
- Caption = "Password:"
- Height = 285
- Index = 2
- Left = 195
- TabIndex = 0
- Top = 840
- Width = 1065
- End
- Attribute VB_Name = "ConnectionOptionsForm"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Cancel_Click()
- Unload Me
- End Sub
- Private Sub Form_Load()
- ServerName.Text = Form1.News1.Host
- UserName.Text = Form1.LogonName
- Password.Text = Form1.LogonPass
- End Sub
- Private Sub Ok_Click()
- Form1.News1.Host = ServerName.Text
- Form1.LogonName = UserName.Text
- Form1.LogonPass = Password.Text
- Unload Me
- End Sub
- Private Sub ServerName_GotFocus()
- ServerName.SelStart = 0
- ServerName.SelLength = Len(ServerName.Text)
- End Sub
- Private Sub UserName_GotFocus()
- UserName.SelStart = 0
- UserName.SelLength = Len(UserName.Text)
- End Sub
- Private Sub Password_GotFocus()
- Password.SelStart = 0
- Password.SelLength = Len(Password.Text)
- End Sub
-